package com.tabwiget;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

public class MenuCore extends Activity implements OnClickListener {
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.menu);
	    
	    View mapButton = this.findViewById(R.id.bMap);
		mapButton.setOnClickListener(this);
	}
	@Override
	public void onClick(View v) {
		switch(v.getId()) {
		case R.id.bMap:
			Intent map = new Intent(this, TabWidget.class);
			startActivity(map);
		}
	}
}
